/*
 * $Id$
 */
package py.windmill.action;

/**
 *
 * @author myang
 */
public interface Resolution {
    
    void execute(Request req, Object val);

    void onErrors(Request req, ValidationErrors errors);

    void onException(Request req, Exception ex);

    MimeType produce();

    boolean isAcceptedBy(Request req);
}
